#include "ConnectionTask.h"

namespace Impp
{

ConnectionTask::ConnectionTask(Oscar* oscar, const ActionId & id) :
	Task(TASK_SERVER_CONNECTION,oscar,TASK_HANDLE_SPECIAL,(qword)SPECIAL_HANDLE_SERVER_CONNECTION,(time_t)20),
	id(id)
{

}

ConnectionTask::~ConnectionTask()
{

}

void ConnectionTask::timedOut(){
	wxLogDebug(wxT("ConnectionTask::timedOut: failed!"));
}

LoginCookie* ConnectionTask::getCookiePointer(){
	return &loginCookie;
}

ActionId ConnectionTask::getActionId(){
	return id;
}


}
